package com.athena.crm.domain.bo;

import com.athena.common.core.domain.BaseEntity;
import com.athena.common.core.validate.AddGroup;
import com.athena.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 客户跟进记录业务对象 t_customer_follrecords
 *
 * @author ruoyi
 * @date 2023-08-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CrmCustomerFollrecordsAddBo extends BaseEntity {

    /**
     * 客户ID
     */
    @NotBlank(message = "客户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String customerId;

    /**
     * 流水类型
     */
    @NotBlank(message = "流水类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String flowType;

    /**
     * 跟进状态
     */
    @NotBlank(message = "跟进状态", groups = { AddGroup.class, EditGroup.class })
    private String followStatus;

    /**
     * 跟进内容
     */
    @NotBlank(message = "跟进内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String followContent;

    /**
     * 下次跟进时间
     */
    @NotBlank(message = "下次跟进时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nextFollowTime;


}
